package mesweb.mesweb.service.impl.sale;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import mesweb.mesweb.entity.sale.SaleOrderProductNoDtl;
import mesweb.mesweb.mapper.sale.SaleOrderProductNoDtlMapper;
import mesweb.mesweb.service.sale.ISaleOrderProductNoDtlService;
import mesweb.mesweb.vo.sale.OrderProudctDtlVo;
import mesweb.mesweb.vo.sale.ProcedureProductQty;
import mesweb.mesweb.vo.sale.SaleOrderProductNoDtlVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 订单产品关系
 * @Author: jeecg-boot
 * @Date: 2021-07-02
 * @Version: V1.0
 */
@Service
public class SaleOrderProductNoDtlServiceImpl extends ServiceImpl<SaleOrderProductNoDtlMapper, SaleOrderProductNoDtl> implements ISaleOrderProductNoDtlService {
    @Autowired
    private SaleOrderProductNoDtlMapper saleOrderProductNoDtlMapper;

    @Override
    public IPage<SaleOrderProductNoDtlVo> getsaleOrderProductNoDtl(Page page, QueryWrapper queryWrapper) {
        return saleOrderProductNoDtlMapper.getsaleOrderProductNoDtl(page, queryWrapper);
    }

    @Override
    public List<SaleOrderProductNoDtlVo> getsaleOrderProductNoDtl(QueryWrapper queryWrapper) {
        return saleOrderProductNoDtlMapper.getsaleOrderProductNoDtl(queryWrapper);
    }

    @Override
    public IPage<ProcedureProductQty> getProcedureProductQty(Page page, QueryWrapper queryWrapper) {
        return saleOrderProductNoDtlMapper.getProcedureProductQty(page, queryWrapper);
    }

    @Override
    public List<ProcedureProductQty> getProcedureProductQty(QueryWrapper queryWrapper) {
        return saleOrderProductNoDtlMapper.getProcedureProductQty(queryWrapper);
    }


    @Override
    public IPage<OrderProudctDtlVo> getOrderProductDtlVo(Page page, QueryWrapper queryWrapper) {
        return saleOrderProductNoDtlMapper.getOrderProductDtlVo(page, queryWrapper);
    }

    @Override
    public List<OrderProudctDtlVo> getOrderProductDtlVo(QueryWrapper queryWrapper) {
        return saleOrderProductNoDtlMapper.getOrderProductDtlVo(queryWrapper);
    }
}
